package main.canvas.components;

import main.canvas.CanvasComponent;

import java.awt.*;

import static main.utils.RiverConstants.RAFT_HEIGHT;
import static main.utils.RiverConstants.RAFT_WIDTH;

public class Raft extends CanvasComponent {

    @Override
    public void draw(Graphics2D g) {
        g.setColor(Color.ORANGE);
        g.fillRect(x, y, RAFT_WIDTH, RAFT_HEIGHT);
    }
}
